package com.qianyu.project.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import lombok.Data;
import lombok.ToString;

import java.io.Serializable;

/**
 * @Author mfy
 * @desc
 */
@ToString
@Data
public class DeviceCollect implements Serializable {

    @TableId(value = "id",type = IdType.AUTO)
    private Integer id;

    private Integer fillUser;
    private String updateDate;
    private String approveStatus;
    private String attachIds;
    private String comment;
    private String type;
    private Integer house;
    private String chengdu;
    private String userDate;
    private String yaoqiu;
    private Integer materialId;
    private Integer did;
    private Integer pId;

    @TableField(exist = false)
    private String materialName;
    @TableField(exist = false)
    private String unitModel;
    @TableField(exist = false)
    private String unit;
    @TableField(exist = false)
    private String deptName;
    @TableField(exist = false)
    private String projectName;
    @TableField(exist = false)
    private String userRealname;
}
